package com.lemon.smartsafety.rayeye.entity;

import com.lemon.smartsafety.rayeye.util.RayType;

import java.io.Serializable;

/**
 * Created by Cooliean on 16/4/16.
 */
public class FaultVo implements Serializable, FaultFireListI {

    /**
     * lastTime : 1455709520000
     * faultId : 14076
     * pointDesc : 水泵房
     * buildingName : 中信泰富
     * pid : ff0f00002f72dc203
     * bid : 24
     */

    private long             lastTime;
    private int              faultId;
    private String           pointDesc;
    private String           buildingName;
    private String           pid;
    private int              bid;
    private RayType.ListType bigType;
    private RayType          smallType;

    public long getLastTime() {
        return lastTime;
    }

    public void setLastTime(long lastTime) {
        this.lastTime = lastTime;
    }

    public int getFaultId() {
        return faultId;
    }

    public void setFaultId(int faultId) {
        this.faultId = faultId;
    }

    public String getPointDesc() {
        return pointDesc;
    }

    public void setPointDesc(String pointDesc) {
        this.pointDesc = pointDesc;
    }

    public String getBuildingName() {
        return buildingName;
    }

    public void setBuildingName(String buildingName) {
        this.buildingName = buildingName;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public int getBid() {
        return bid;
    }

    public void setBid(int bid) {
        this.bid = bid;
    }


    public void setBigType(RayType.ListType bigType) {
        this.bigType = bigType;
    }

    public RayType getSmallType() {
        return smallType;
    }

    public void setSmallType(RayType smallType) {
        this.smallType = smallType;
    }

    @Override
    public int getValueIdI() {
        return getFaultId();
    }

    @Override
    public String getTitleI() {
        return getBuildingName();
    }

    @Override
    public Long getTimeI() {
        return getLastTime();
    }

    @Override
    public String getPointDescI() {
        return getPointDesc();
    }

    @Override
    public RayType getDescType() {
        return getSmallType();
    }

    @Override
    public RayType.ListType getBigType() {
        return this.bigType;
    }
}
